﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TestPlugin
{
    public class TestPlugin2 : MLPlugin.PluginBase
    {
        public override string GetContent()
        {
            return "テストプラグインその２";
        }

        public override string GetDescription()
        {
            return "modsを開くだけのプラグイン。";
        }

        public override void RunCommand(string targetName, string targetPath)
        {
            var mods = System.IO.Path.Combine(targetPath, ".minecraft", "mods");
            if (System.IO.Directory.Exists(mods))
            {
                System.Diagnostics.Process.Start(mods);
            }
        }
    }
}
